<!-- invite 页面内容 -->
<section class="invite" ng-controller="inviteCtrl">
    <div class="panel panel-default">
        <div class="panel-body">
            <form name='emailform' role="form" autocomplete="false" novalidate ng-submit="invite(emailform.$invalid, invitedata);">
                <div class="form-group">
                    <label for="inviteemail">邀请成员</label>
                </div>
                <div class="col-sm-8" ng-repeat="(key, arr) in arrs track by key">
                    <div class="form-group">
                        <input type="email" class="form-control email-input" name='{{arr.name}}' ng-model="invitedata[key]" id="inviteemail{{key}}" ng-pattern="/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/" placeholder="输入被邀请邮箱">
                    </div>
                    <div class="form-group error-container" ng-show="isemailform && (emailform[arr.name].$error.pattern || emailform[arr.name].$error.required)">
                        请正确输入邮箱！
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="form-group">
                        <button type="button" class="btn btn-default plus-btn" ng-click="add();" style="height: 50px;"><i class="icon-add"></i></button>
                    </div>
                </div>
                <div class='col-sm-12'>
                    <button type="submit" class="btn btn-mt-ok">确认邀请</button>
                </div>
            </form>
        </div>
    </div>
    <!-- <div class="row">
        <div class="col-md-12 col-sm-12 tip">
            <strong>邀请邮件发送成功</strong>
            <p>
                我们刚刚向被邀请人发送了确认邀请的电子邮件。
                <br> 被邀请人确认后可直接登录窗管家
            </p>
        </div>
    </div> -->
</section>
